package com.guoyh.xprodatas

import android.app.Application
import com.guoyh.bilnet.http.NetHttpClient
import github.leavesc.monitor.MonitorInterceptor
import rxhttp.wrapper.param.RxHttp

/**
 * @CreateDate: 7/15/21 10:21 AM
 * @Author: guoyh
 * @Description: java类作用描述
 */
object InitProNet {
    fun initProNet(application: Application){
        RxHttp.init(
            NetHttpClient.getDefaultOkHttpClient(application)
                .addInterceptor(MonitorInterceptor(application))
                .build()
        )
    }



}